package com.food.eat.controller;

//import com.food.eat.impl.QueryGrantTypeServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author RenPu
 * @Date 2022/4/10 17:35
 * @Version 1.0
 * @Description: 策略模式编写控制层；
 **/

@RestController
@RequestMapping("/Strage")
public class StrageMode {



//    @Autowired
//    private QueryGrantTypeServiceImpl queryGrantTypeService;
//
//    @GetMapping("/grantType")
//    public String test(String resourceName){
//        return queryGrantTypeService.getResult(resourceName);
//    }
}
